//
//  FreeNewHeaderView.m
//  BaseProject
//
//  Created by 王洋 on 2020/10/21.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "FreeNewHeaderView.h"

@implementation FreeNewHeaderView

- (void)awakeFromNib {
    [super awakeFromNib];
    
//    self.contentView.backgroundColor =  UIColorHex(0xF54741);
    self.backgroundColor =  UIColorHex(0xF54741);
    
    [self.freeNewBGImgV sd_setImageWithURL:[NSURL URLWithString:B_FREENEW_HEAD_BG]  placeholderImage:[UIImage imageNamed:@"freeNewBg"] options:SDWebImageProgressiveLoad];
}

- (IBAction)couponGetAction:(id)sender {
    if (self.FreeNewHeaderViewBlock) {
        self.FreeNewHeaderViewBlock();
    }
}



@end
